﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using ServiceMessages.ResponsePOCOs;

namespace Convo
{
    public class Friend
    {
        public int Id { get; set; }
        public String Name { get; set; }
        public String Image { get; set; }


        /*public Friend(String Name, String Uri, EndPoint Endpoint)
        {
            this.Name = Name;
            this.Uri = Uri;
            this.Endpoint = Endpoint;
            this.Image = "background1.jpg";
        }*/

        public Friend(FriendResponse friendData)
        {
            Id = friendData.Id;
            Name = friendData.FirstName + " " + friendData.LastName;
        }
    }
}
